<html>
    <head>
        <title>Test</title>
        <style>
        </style>
        <script>
            const window = globalThis; // for browser compatibility
        </script>
        <script src="mithril.js"></script>
    </head>
    <body>
      <main>?</main>
    </body>

    <script>

var root = document.body;
m.render(root, "Hello world");

    </script>

</html>